﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RegisterSettings.ascx.cs"
    Inherits="GNSWebSite.Controls.RegisterSettings" %>

<script src='<%= VirtualPathUtility.ToAbsolute("~/Script/jQuery/jquery-1.3.1.js") %>' type="text/javascript"></script>

<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblUseEMail" runat="server" meta:resourcekey="lblUseEMail"></asp:Label>

<%--<div>
<asp:Label ID="lblEMail" runat="server" meta:resourcekey="lblEMail"></asp:Label>
</div>--%>

<asp:CheckBox ID="chkUseEMail" runat="server" />
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblUsePhone" runat="server" meta:resourcekey="lblUsePhone"></asp:Label>
<asp:CheckBox ID="chkUsePhone" runat="server" />
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblPhone" runat="server" meta:resourcekey="lblPhone"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblUseTemperature" runat="server" meta:resourcekey="lblUseTemperature"></asp:Label>

<asp:CheckBox ID="chkUseTemperature" runat="server" />
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblTemperatureProcent" runat="server" meta:resourcekey="lblTemperatureProcent"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtTemperatureProcent" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblTemperaturePeriod" runat="server" meta:resourcekey="lblTemperaturePeriod"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtTemperaturePeriod" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblUsePressure" runat="server" meta:resourcekey="lblUsePressure"></asp:Label>

<asp:CheckBox ID="chkUsePressure" runat="server" />
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblMaxPressure" runat="server" meta:resourcekey="lblMaxPressure"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtMaxPressure" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblMinPressure" runat="server" meta:resourcekey="lblMinPressure"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtMinPressure" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblUseFogMaxProcent" runat="server" meta:resourcekey="lblUseFogMaxProcent"></asp:Label>

<asp:CheckBox ID="chkUseFogMaxProcent" runat="server" />
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblFogMaxProcent" runat="server" meta:resourcekey="lblFogMaxProcent"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtFogMaxProcent" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblUseHumidityMaxProcent" runat="server" meta:resourcekey="lblUseHumidityMaxProcent"></asp:Label>

<asp:CheckBox ID="chkUseHumidityMaxProcent" runat="server" />
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Label ID="lblHumidityMaxProcent" runat="server" meta:resourcekey="lblHumidityMaxProcent"></asp:Label>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:TextBox ID="txtHumidityMaxProcent" runat="server"></asp:TextBox>
</div>
<div style="padding:5px 5px 5px 5px;margin:5px 5px 5px 5px;">
<asp:Localize ID="lApp" runat="server" meta:resourcekey="lApp"></asp:Localize>
</div>


<%--<script language="javascript" type="text/javascript">

   bool a = $('#<%= chkUsePhone.Checked %>');
        if (a==true) {
            $('#<%= lblPhone.ClientID %>').show("slow");
            $('#<%= txtPhone.ClientID %>').show("slow");
        }
        else {
            $('#<%= lblPhone.ClientID %>').hide("slow");
            $('#<%= txtPhone.ClientID %>').hide("slow");
        }
 
    $('#<%= lblTemperatureProcent.ClientID %>').hide();
    $('#<%= txtTemperatureProcent.ClientID %>').hide();
    $('#<%= lblTemperaturePeriod.ClientID %>').hide();
    $('#<%= txtTemperaturePeriod.ClientID %>').hide();
    $('#<%= lblMaxPressure.ClientID %>').hide();
    $('#<%= txtMaxPressure.ClientID %>').hide();
    $('#<%= lblMinPressure.ClientID %>').hide();
    $('#<%= txtMinPressure.ClientID %>').hide();
    $('#<%= lblFogMaxProcent.ClientID %>').hide();
    $('#<%= txtFogMaxProcent.ClientID %>').hide();
    $('#<%= lblHumidityMaxProcent.ClientID %>').hide();
    $('#<%= txtHumidityMaxProcent.ClientID %>').hide(); 
    
    $('#<%= chkUsePhone.ClientID %>').click(function() {
        var checked_status = this.checked;
        if (checked_status == true) {
            $('#<%= lblPhone.ClientID %>').show("slow");
            $('#<%= txtPhone.ClientID %>').show("slow");
        }
        else {
            $('#<%= lblPhone.ClientID %>').hide("slow");
            $('#<%= txtPhone.ClientID %>').hide("slow");
        }
    });

    $('#<%= chkUseTemperature.ClientID %>').click(function() {
        var checked_status = this.checked;
        if (checked_status == true) {
            $('#<%= lblTemperatureProcent.ClientID %>').show("slow");
            $('#<%= txtTemperatureProcent.ClientID %>').show("slow");
            $('#<%= lblTemperaturePeriod.ClientID %>').show("slow");
            $('#<%= txtTemperaturePeriod.ClientID %>').show("slow");
        }
        else {
            $('#<%= lblTemperatureProcent.ClientID %>').hide("slow");
            $('#<%= txtTemperatureProcent.ClientID %>').hide("slow");
            $('#<%= lblTemperaturePeriod.ClientID %>').hide("slow");
            $('#<%= txtTemperaturePeriod.ClientID %>').hide("slow");
        }
    });

    $('#<%= chkUsePressure.ClientID %>').click(function() {
        var checked_status = this.checked;
        if (checked_status == true) {
            $('#<%= lblMaxPressure.ClientID %>').show("slow");
            $('#<%= txtMaxPressure.ClientID %>').show("slow");
            $('#<%= lblMinPressure.ClientID %>').show("slow");
            $('#<%= txtMinPressure.ClientID %>').show("slow");
        }
        else {
            $('#<%= lblMaxPressure.ClientID %>').hide("slow");
            $('#<%= txtMaxPressure.ClientID %>').hide("slow");
            $('#<%= lblMinPressure.ClientID %>').hide("slow");
            $('#<%= txtMinPressure.ClientID %>').hide("slow");
        }
    });
    
    $('#<%= chkUseFogMaxProcent.ClientID %>').click(function() {
        var checked_status = this.checked;
        if (checked_status == true) {
            $('#<%= lblFogMaxProcent.ClientID %>').show("slow");
            $('#<%= txtFogMaxProcent.ClientID %>').show("slow");
        }
        else {
            $('#<%= lblFogMaxProcent.ClientID %>').hide("slow");
            $('#<%= txtFogMaxProcent.ClientID %>').hide("slow");
        }
    });

    $('#<%= chkUseHumidityMaxProcent.ClientID %>').click(function() {
        var checked_status = this.checked;
        if (checked_status == true) {
            $('#<%= lblHumidityMaxProcent.ClientID %>').show("slow");
            $('#<%= txtHumidityMaxProcent.ClientID %>').show("slow");
        }
        else {
            $('#<%= lblHumidityMaxProcent.ClientID %>').hide("slow");
            $('#<%= txtHumidityMaxProcent.ClientID %>').hide("slow");
        }
    });
</script>
--%>








